import types from '@/store/constants/types'
export default {
    //市企业分布情况
    [types.HOME_SET_PLANT_DISTRIBUTE] (state, payload) {
        state.plantDistribute = payload
    },
    
    //设置车辆超载
    [types.HOME_SET_INVENTORY_CONTRAST] (state, payload) {
        state.inventoryContrast = payload
    },
    //设置各区预警处置
    [types.HOME_SET_PICK_RANK] (state, payload) {
        state.pickRank = payload
    },
    //设置各区任务执行情况数据
    [types.HOME_SET_ORIGIN_REGION] (state, payload) {
        state.originRegion = payload
    },
    //设置称重视频
    [types.HOME_SET_DEVICE_RATIO] (state, payload) {
        state.deviceRatio = payload
    },
    //各区电子运单上传情况
    [types.HOME_SET_FERT_QUANTITY] (state, payload) {
        state.fertQuantity = payload
    },
    //运单日均称重重量
    [types.HOME_SET_OUTBOUND_INVENTORY] (state, payload) {
        state.outboundInventory = payload
    },
}
